package com.tjc.cloud.util.isv


import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration

@Configuration
class AutoConfiguration {
    @Bean
    @ConfigurationProperties("cloud.isv")
    fun isvProperties() = IsvProperties()

    @Bean
    fun isvClient(isvProperties: IsvProperties) = IsvClient(isvProperties)
}